package com.data2wisdom.comm.extend.superclass;

import java.io.Serializable;

import javax.persistence.Id;


public abstract class ConsolePlugin implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5718838813150415027L;
	/**
	 * 每个实体对象都有id属性  2017-07-09 add
	 */
	@Id
	private String id;
	
	private String pluginCode;   //插件代码（该大类插件中统一代码）
	private String pluginName;	 //插件名称
		
	private String paramClassName;		//插件类型实际数据的参数类
	private String handlerServiceName;  //插件类型参数处理类
	private String addUrl;				//新增地址
	private String editUrl;				//修改地址
	private String viewUrl;				//查看地址
	private String listUrl;				//列表地址
	
	private Integer pageWidth ;			//增改看窗口宽度
	private Integer pageHeight;			//增改看窗口高度
	
	private String miroImgUrl;			//小图标路径
	private String bigImgUrl;			//大图标路径	
	private Integer sortSn;				//排序号
	
	private boolean isEnable = true;	//插件是否已经可用
	
	
	
	
	public String getPluginCode() {
		return pluginCode;
	}
	public void setPluginCode(String pluginCode) {
		this.pluginCode = pluginCode;
	}
	public String getPluginName() {
		return pluginName;
	}
	public void setPluginName(String pluginName) {
		this.pluginName = pluginName;
	}
			
	public String getParamClassName() {
		return paramClassName;
	}
	public void setParamClassName(String paramClassName) {
		this.paramClassName = paramClassName;
	}
	public String getHandlerServiceName() {
		return handlerServiceName;
	}
	public void setHandlerServiceName(String handlerServiceName) {
		this.handlerServiceName = handlerServiceName;
	}
	public String getAddUrl() {
		return addUrl;
	}
	public void setAddUrl(String addUrl) {
		this.addUrl = addUrl;
	}
	public String getEditUrl() {
		return editUrl;
	}
	public void setEditUrl(String editUrl) {
		this.editUrl = editUrl;
	}
	public String getViewUrl() {
		return viewUrl;
	}
	public void setViewUrl(String viewUrl) {
		this.viewUrl = viewUrl;
	}
	public String getListUrl() {
		return listUrl;
	}
	public void setListUrl(String listUrl) {
		this.listUrl = listUrl;
	}
	public Integer getPageWidth() {
		return pageWidth;
	}
	public void setPageWidth(Integer pageWidth) {
		this.pageWidth = pageWidth;
	}
	public Integer getPageHeight() {
		return pageHeight;
	}
	public void setPageHeight(Integer pageHeight) {
		this.pageHeight = pageHeight;
	}
	public String getMiroImgUrl() {
		return miroImgUrl;
	}
	public void setMiroImgUrl(String miroImgUrl) {
		this.miroImgUrl = miroImgUrl;
	}
	public String getBigImgUrl() {
		return bigImgUrl;
	}
	public void setBigImgUrl(String bigImgUrl) {
		this.bigImgUrl = bigImgUrl;
	}
	public Integer getSortSn() {
		return sortSn;
	}
	public void setSortSn(Integer sortSn) {
		this.sortSn = sortSn;
	}
	public boolean isEnable() {
		return isEnable;
	}
	public void setEnable(boolean isEnable) {
		this.isEnable = isEnable;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Override
	public String toString() {
		return "ConsolePlugin [id=" + id + ", pluginCode=" + pluginCode + ", pluginName=" + pluginName
				+ ", paramClassName=" + paramClassName + ", handlerServiceName=" + handlerServiceName + ", addUrl="
				+ addUrl + ", editUrl=" + editUrl + ", viewUrl=" + viewUrl + ", listUrl=" + listUrl + ", pageWidth="
				+ pageWidth + ", pageHeight=" + pageHeight + ", miroImgUrl=" + miroImgUrl + ", bigImgUrl=" + bigImgUrl
				+ ", sortSn=" + sortSn + ", isEnable=" + isEnable + "]";
	}
}
